@explorer-1/vue 0.2.87 → 0.2.88
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/CHANGELOG.md +7 -0
- package/package.json +17 -16
- package/src/components/BlockImageCarousel/BlockImageCarousel.vue +7 -7
- package/src/components/MetaPanel/MetaPanel.vue +8 -8
- package/src/components/MixinFancybox/MixinFancybox.vue +5 -2
- package/src/components/SearchInput/SearchInput.vue +9 -2
- package/src/components/TheFooter/TheFooterSignUp.vue +5 -1
- package/src/templates/edu/PageEduLesson/PageEduLessonSection.vue +7 -6
package/CHANGELOG.md
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@explorer-1/vue",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.88",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -14,35 +14,36 @@
|
|
|
14
14
|
"prettier": "@explorer-1/prettier-config",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@fancyapps/ui": "^4.0.26",
|
|
17
|
-
"@tailwindcss/forms": "^0.5.
|
|
17
|
+
"@tailwindcss/forms": "^0.5.9",
|
|
18
18
|
"animejs": "^3.2.2",
|
|
19
19
|
"click-outside-vue3": "^4.0.1",
|
|
20
20
|
"datebook": "^8.0.1",
|
|
21
|
-
"dayjs": "^1.11.
|
|
21
|
+
"dayjs": "^1.11.13",
|
|
22
22
|
"fast-qs": "^2.0.3",
|
|
23
23
|
"lodash": "^4.17.21",
|
|
24
24
|
"mitt": "^3.0.1",
|
|
25
|
-
"sass": "^1.
|
|
25
|
+
"sass": "^1.80.5",
|
|
26
26
|
"swiper": "^11.1.3",
|
|
27
|
-
"tailwindcss": "^3.4.
|
|
27
|
+
"tailwindcss": "^3.4.14",
|
|
28
28
|
"twitter-widgets": "^2.0.0",
|
|
29
|
-
"vue": "^3.5.
|
|
29
|
+
"vue": "^3.5.12",
|
|
30
30
|
"vue-bind-once": "^0.2.1",
|
|
31
31
|
"vue3-compare-image": "^1.2.5",
|
|
32
|
-
"vue3-observe-visibility": "^1.0.
|
|
32
|
+
"vue3-observe-visibility": "^1.0.2",
|
|
33
33
|
"@explorer-1/common": "1.1.23"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@vitejs/plugin-vue": "^5.
|
|
37
|
-
"a11y-dialog": "^8.1.
|
|
38
|
-
"autoprefixer": "^10.4.
|
|
39
|
-
"
|
|
36
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
37
|
+
"a11y-dialog": "^8.1.1",
|
|
38
|
+
"autoprefixer": "^10.4.20",
|
|
39
|
+
"eslint": "^9.14.0",
|
|
40
|
+
"postcss": "^8.4.47",
|
|
40
41
|
"postcss-import": "^16.1.0",
|
|
41
|
-
"typescript": "^5.
|
|
42
|
-
"unplugin-vue-components": "^0.27.
|
|
43
|
-
"vite": "^5.
|
|
44
|
-
"vite-plugin-dts": "^3.
|
|
45
|
-
"vue-tsc": "^2.
|
|
42
|
+
"typescript": "^5.6.3",
|
|
43
|
+
"unplugin-vue-components": "^0.27.4",
|
|
44
|
+
"vite": "^5.4.10",
|
|
45
|
+
"vite-plugin-dts": "^4.3.0",
|
|
46
|
+
"vue-tsc": "^2.1.10",
|
|
46
47
|
"@explorer-1/prettier-config": "1.0.0"
|
|
47
48
|
},
|
|
48
49
|
"scripts": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
>
|
|
53
53
|
<span
|
|
54
54
|
class="inline-block w-3 h-3 rounded-full"
|
|
55
|
-
:class="currentIndex === index ? 'bg-
|
|
55
|
+
:class="currentIndex === index ? 'bg-primary' : 'bg-gray-light-mid'"
|
|
56
56
|
></span>
|
|
57
57
|
</button>
|
|
58
58
|
</div>
|
|
@@ -60,17 +60,17 @@
|
|
|
60
60
|
</div>
|
|
61
61
|
</template>
|
|
62
62
|
<script lang="ts">
|
|
63
|
-
import
|
|
64
|
-
import type { PropType } from 'vue'
|
|
63
|
+
import swiperOptions from '@explorer-1/common/src/js/_swiperOptions'
|
|
65
64
|
import Swiper from 'swiper'
|
|
66
65
|
import { A11y, Navigation } from 'swiper/modules'
|
|
67
66
|
import type { SwiperOptions } from 'swiper/types'
|
|
68
|
-
import
|
|
67
|
+
import type { PropType } from 'vue'
|
|
68
|
+
import { defineComponent } from 'vue'
|
|
69
|
+
import type { ImageObject } from '../../interfaces'
|
|
70
|
+
import BaseButton from './../BaseButton/BaseButton.vue'
|
|
69
71
|
import BlockImageCarouselItem from './../BlockImageCarouselItem/BlockImageCarouselItem.vue'
|
|
70
|
-
import IconPrev from './../Icons/IconPrev.vue'
|
|
71
72
|
import IconNext from './../Icons/IconNext.vue'
|
|
72
|
-
import
|
|
73
|
-
import type { ImageObject } from '../../interfaces'
|
|
73
|
+
import IconPrev from './../Icons/IconPrev.vue'
|
|
74
74
|
const BlockImageCarouselOptions = swiperOptions.BlockImageCarousel
|
|
75
75
|
|
|
76
76
|
Swiper.use([Navigation, A11y])
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed, reactive, ref } from 'vue'
|
|
3
3
|
import {
|
|
4
|
-
MetaPanelTheme,
|
|
5
4
|
EduResourcesGradeLevel,
|
|
6
|
-
EduResourceStandardItem,
|
|
7
5
|
EduResourcesSubject,
|
|
8
|
-
|
|
6
|
+
EduResourceStandardItem,
|
|
7
|
+
EduResourcesTime,
|
|
8
|
+
MetaPanelTheme
|
|
9
9
|
} from './../../interfaces'
|
|
10
|
-
import
|
|
11
|
-
import MetaPanelItems from './../MetaPanelItems/MetaPanelItems.vue'
|
|
10
|
+
import BaseButton from './../BaseButton/BaseButton.vue'
|
|
12
11
|
import IconMinus from './../Icons/IconMinus.vue'
|
|
13
12
|
import IconPlus from './../Icons/IconPlus.vue'
|
|
14
|
-
import
|
|
13
|
+
import MetaPanelAccordion from './../MetaPanelAccordion/MetaPanelAccordion.vue'
|
|
14
|
+
import MetaPanelItems from './../MetaPanelItems/MetaPanelItems.vue'
|
|
15
15
|
|
|
16
16
|
interface MetaPanelProps {
|
|
17
17
|
button?: string
|
|
@@ -117,8 +117,8 @@ const standardsIste = computed(() => {
|
|
|
117
117
|
aria-label="Metadata"
|
|
118
118
|
class="MetaPanel z-20 relative overflow-hidden"
|
|
119
119
|
:class="{
|
|
120
|
-
'-mt-14': negativeTop,
|
|
121
|
-
'-mb-14': negativeBottom
|
|
120
|
+
'-mt-4 lg:-mt-10 xl:-mt-14': negativeTop,
|
|
121
|
+
'-mb-4 lg:-mb-10 xl:-mb-14': negativeBottom
|
|
122
122
|
}"
|
|
123
123
|
>
|
|
124
124
|
<div class="MixedBleedGrid pl-4 lg:pl-0">
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
<!-- eslint-disable vue/require-explicit-emits -->
|
|
2
|
+
<!-- eslint-disable vue/require-default-prop -->
|
|
1
3
|
<script lang="ts">
|
|
4
|
+
// MixinFancybox.vue
|
|
2
5
|
// @ts-nocheck
|
|
3
|
-
import { defineComponent } from 'vue'
|
|
4
6
|
import { Fancybox } from '@fancyapps/ui'
|
|
5
|
-
import { Fullscreen } from '@fancyapps/ui/src/shared/utils/Fullscreen.js'
|
|
6
7
|
import '@fancyapps/ui/dist/fancybox.css'
|
|
8
|
+
import { Fullscreen } from '@fancyapps/ui/src/shared/utils/Fullscreen.js'
|
|
9
|
+
import { defineComponent } from 'vue'
|
|
7
10
|
import MixinFancyboxOpenButton from './MixinFancyboxOpenButton.vue'
|
|
8
11
|
|
|
9
12
|
export const fancyboxThemes = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import {
|
|
2
|
+
import { onMounted, ref } from 'vue'
|
|
3
3
|
import IconSearch from './../Icons/IconSearch.vue'
|
|
4
4
|
|
|
5
5
|
interface SearchInputProps {
|
|
@@ -69,7 +69,7 @@ onMounted(() => {
|
|
|
69
69
|
<input
|
|
70
70
|
ref="searchQueryRef"
|
|
71
71
|
v-model="model"
|
|
72
|
-
class="pl-14 h-full focus:ring-2 relative z-10 w-full px-5 text-
|
|
72
|
+
class="pl-14 h-full focus:ring-2 relative z-10 w-full px-5 text-base lg:text-lg bg-transparent border-0"
|
|
73
73
|
:class="{
|
|
74
74
|
'text-gray-dark': defaultColors,
|
|
75
75
|
'py-1': underlinedInput,
|
|
@@ -95,6 +95,13 @@ onMounted(() => {
|
|
|
95
95
|
</div>
|
|
96
96
|
</template>
|
|
97
97
|
<style lang="scss" scoped>
|
|
98
|
+
input[type='search'] {
|
|
99
|
+
transform: scale(0.875);
|
|
100
|
+
transform-origin: left;
|
|
101
|
+
@media screen and (min-width: 1024px) {
|
|
102
|
+
transform: scale(1);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
98
105
|
.custom-focus {
|
|
99
106
|
input {
|
|
100
107
|
outline: none;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="border-opacity-40 relative flex items-center border border-white">
|
|
4
4
|
<input
|
|
5
5
|
v-model="email"
|
|
6
|
-
class="EmailInput border-0 text-opacity-90 pl-14 relative z-10 w-full py-3 pr-3 text-
|
|
6
|
+
class="EmailInput text-base border-0 text-opacity-90 pl-14 relative z-10 w-full py-3 pr-3 text-white bg-transparent"
|
|
7
7
|
type="email"
|
|
8
8
|
name="email"
|
|
9
9
|
required
|
|
@@ -57,5 +57,9 @@ export default defineComponent({
|
|
|
57
57
|
.EmailInput::placeholder {
|
|
58
58
|
@apply text-white text-opacity-40;
|
|
59
59
|
}
|
|
60
|
+
input[type='email'].EmailInput {
|
|
61
|
+
transform: scale(0.875);
|
|
62
|
+
transform-origin: left;
|
|
63
|
+
}
|
|
60
64
|
}
|
|
61
65
|
</style>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { reactive } from 'vue'
|
|
3
|
-
import
|
|
3
|
+
import BaseHeading from './../../../components/BaseHeading/BaseHeading.vue'
|
|
4
4
|
import BlockHeading, {
|
|
5
5
|
type BlockHeadingObject
|
|
6
6
|
} from './../../../components/BlockHeading/BlockHeading.vue'
|
|
7
|
-
import type { EduLessonProcedure } from './PageEduLesson.vue'
|
|
8
|
-
import BaseHeading from './../../../components/BaseHeading/BaseHeading.vue'
|
|
9
|
-
import BlockText from './../../../components/BlockText/BlockText.vue'
|
|
10
|
-
import LayoutHelper from './../../../components/LayoutHelper/LayoutHelper.vue'
|
|
11
7
|
import BlockImageStandard from './../../../components/BlockImage/BlockImageStandard.vue'
|
|
12
8
|
import BlockStreamfield from './../../../components/BlockStreamfield/BlockStreamfield.vue'
|
|
9
|
+
import BlockText from './../../../components/BlockText/BlockText.vue'
|
|
10
|
+
import LayoutHelper from './../../../components/LayoutHelper/LayoutHelper.vue'
|
|
11
|
+
import type { ImageObject, StreamfieldBlockData } from './../../../interfaces'
|
|
12
|
+
import type { EduLessonProcedure } from './PageEduLesson.vue'
|
|
13
13
|
|
|
14
14
|
export interface PageEduLessonSectionProps {
|
|
15
15
|
heading?: BlockHeadingObject
|
|
@@ -135,7 +135,8 @@ const { heading, blocks, image, procedures, text } = reactive(props)
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
ol.PageEduProcedureSectionSingleStep {
|
|
138
|
-
@apply list-none;
|
|
138
|
+
@apply list-none indent-7 pr-4 xl:indent-0.5 xl:pr-0.5;
|
|
139
|
+
text-wrap: pretty;
|
|
139
140
|
> li {
|
|
140
141
|
@apply relative w-full;
|
|
141
142
|
counter-increment: step;
|