Skip to content

Commit

Permalink
chore: bump to vue 3.4.38
Browse files Browse the repository at this point in the history
chore bump to vue3-tour 1.0.3
refactor: screen activity
chore: cleaned webpush activity
  • Loading branch information
cnouguier committed Jan 24, 2025
1 parent 08fdcbc commit f2be828
Show file tree
Hide file tree
Showing 5 changed files with 137 additions and 123 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@
"socket.io-client": "^4.4.1",
"stream-browserify": "^3.0.0",
"url": "^0.11.0",
"vue": "^3.0.0",
"vue": "3.4.38",
"vue-i18n": "^9.2.0-beta.35",
"vue-router": "^4.0.0",
"vue3-tour": "^0.3.3"
"vue3-tour": "^1.0.3"
},
"devDependencies": {
"@babel/eslint-parser": "^7.13.14",
Expand All @@ -132,8 +132,11 @@
"webpack-bundle-analyzer": "^4.8.0",
"workbox-webpack-plugin": "^6.0.0"
},
"resolutions": {
"vue": "3.4.38"
},
"engines": {
"node": ">= 18.0.0",
"node": ">= 20.0.0",
"npm": ">= 6.13.4",
"yarn": ">= 1.21.1"
},
Expand Down
3 changes: 2 additions & 1 deletion src/boot/tour.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Vue3Tour from 'vue3-tour/src/lib.js'
import Vue3Tour from 'vue3-tour'
import 'vue3-tour/dist/vue3-tour.css'

export default async ({ app }) => {
app.use(Vue3Tour)
Expand Down
6 changes: 3 additions & 3 deletions src/components/screen/ScreenActivity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<KStamp
:text="text"
textSize="1rem"
:icon="ScreenOrientation === 'portrait' ? 'las la-portrait' : 'las la-image'"
:icon="screenOrientation === 'portrait' ? 'las la-portrait' : 'las la-image'"
iconSize="8rem"
direction="vertical"
/>
Expand All @@ -24,10 +24,10 @@ import { computed } from 'vue'
import { i18n, composables as kdkCoreComposables } from '@kalisio/kdk/core.client'
// Data
const { Orientation: ScreenOrientation, Screen } = kdkCoreComposables.useScreen()
const { orientation: screenOrientation, Screen } = kdkCoreComposables.useScreen()
// Computed
const text = computed(() => {
return i18n.t(ScreenOrientation.value === 'portrait' ? 'ScreenActivity.PORTRAIT_ORIENTATION' : 'ScreenActivity.LANDSCAPE_ORIENTATION', { w: Screen.width, h: Screen.height })
return i18n.t(screenOrientation.value === 'portrait' ? 'ScreenActivity.PORTRAIT_ORIENTATION' : 'ScreenActivity.LANDSCAPE_ORIENTATION', { w: Screen.width, h: Screen.height })
})
</script>
5 changes: 1 addition & 4 deletions src/components/webpush/WebpushActivity.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<template>
<KActivity
name="webpush"
padding
>
<KActivity name="webpush">
<div class="fit justify-center items-center column">
<div>
<div class="ellipsis text-bold">{{ $tie('webpush.FORM_TITLE') }}</div>
Expand Down
Loading

0 comments on commit f2be828

Please sign in to comment.