@explorer-1/vue 0.2.87 → 0.2.89

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 ADDED
@@ -0,0 +1,13 @@
1
+ # @explorer-1/vue
2
+
3
+ ## 0.2.89
4
+
5
+ ### Patch Changes
6
+
7
+ - f7b4ed2: revert fix for #705
8
+
9
+ ## 0.2.88
10
+
11
+ ### Patch Changes
12
+
13
+ - 9324948: upgrades packages to match www/frontend, fixes misc bugs for edu launch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorer-1/vue",
3
- "version": "0.2.87",
3
+ "version": "0.2.89",
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.7",
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.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.77.4",
25
+ "sass": "^1.80.5",
26
26
  "swiper": "^11.1.3",
27
- "tailwindcss": "^3.4.3",
27
+ "tailwindcss": "^3.4.14",
28
28
  "twitter-widgets": "^2.0.0",
29
- "vue": "^3.5.3",
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.1",
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.0.4",
37
- "a11y-dialog": "^8.1.0",
38
- "autoprefixer": "^10.4.19",
39
- "postcss": "^8.4.38",
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.4.5",
42
- "unplugin-vue-components": "^0.27.0",
43
- "vite": "^5.3.1",
44
- "vite-plugin-dts": "^3.9.1",
45
- "vue-tsc": "^2.0.6",
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-jpl-red' : 'bg-gray-light-mid'"
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 { defineComponent } from 'vue'
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 swiperOptions from '@explorer-1/common/src/js/_swiperOptions'
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 BaseButton from './../BaseButton/BaseButton.vue'
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
- EduResourcesTime
6
+ EduResourceStandardItem,
7
+ EduResourcesTime,
8
+ MetaPanelTheme
9
9
  } from './../../interfaces'
10
- import MetaPanelAccordion from './../MetaPanelAccordion/MetaPanelAccordion.vue'
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 BaseButton from './../BaseButton/BaseButton.vue'
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 { ref, onMounted } from 'vue'
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-sm md:text-base lg:text-lg bg-transparent border-0"
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,
@@ -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-sm text-white bg-transparent"
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
@@ -1,15 +1,15 @@
1
1
  <script setup lang="ts">
2
2
  import { reactive } from 'vue'
3
- import type { ImageObject, StreamfieldBlockData } from './../../../interfaces'
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;