@fmidev/smartmet-alert-client 4.0.0-beta.7 → 4.0.0-rc.15

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.
Files changed (47) hide show
  1. package/Jenkinsfile +3 -3
  2. package/dist/index.dark.html +5 -0
  3. package/dist/index.html +0 -1
  4. package/dist/index.js +49 -65
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.relative.html +2 -2
  7. package/dist/index.start.html +3 -3
  8. package/package.json +10 -14
  9. package/postcss.config.js +3 -3
  10. package/public/index.dark.html +5 -0
  11. package/public/index.relative.html +2 -2
  12. package/public/index.start.html +3 -3
  13. package/src/App.vue +21 -12
  14. package/src/assets/img/warning/forest-fire-weather.svg +2 -2
  15. package/src/assets/img/warning/sea-wave-height.svg +2 -2
  16. package/src/assets/img/warning/sea-wind-legend.svg +3 -4
  17. package/src/assets/img/warning/sea-wind.svg +3 -3
  18. package/src/assets/img/warning/traffic-weather.svg +4 -5
  19. package/src/components/AlertClient.vue +40 -15
  20. package/src/components/DaySmall.vue +128 -20
  21. package/src/components/Days.vue +25 -9
  22. package/src/components/DescriptionWarning.vue +5 -1
  23. package/src/components/GrayScaleToggle.vue +10 -0
  24. package/src/components/Legend.vue +48 -10
  25. package/src/components/MapLarge.vue +134 -26
  26. package/src/components/MapSmall.vue +10 -10
  27. package/src/components/PopupRow.vue +1 -1
  28. package/src/components/Region.vue +32 -7
  29. package/src/components/Warning.vue +31 -2
  30. package/src/components/Warnings.vue +40 -12
  31. package/src/locales/en.json +178 -178
  32. package/src/locales/fi.json +178 -178
  33. package/src/locales/sv.json +2 -2
  34. package/src/main.js +16 -20
  35. package/src/mixins/config.js +27 -46
  36. package/src/mixins/utils.js +10 -2
  37. package/src/scss/colors.scss +6 -6
  38. package/src/scss/constants.scss +7 -5
  39. package/src/scss/themes/dark-gray.scss +34 -0
  40. package/src/scss/themes/dark.scss +1 -5
  41. package/src/scss/themes/light-gray.scss +33 -34
  42. package/src/scss/themes/light.scss +6 -8
  43. package/src/scss/warningImages.scss +76 -29
  44. package/test/snapshot.test.js +20 -112
  45. package/vite.config.js +4 -2
  46. package/Jenkinsfile.beta +0 -111
  47. package/ssr/index.mjs +0 -40
package/Jenkinsfile CHANGED
@@ -14,7 +14,7 @@ pipeline {
14
14
  }
15
15
 
16
16
  tools {
17
- nodejs 'nodejs-14'
17
+ nodejs 'nodejs-18'
18
18
  }
19
19
 
20
20
  options {
@@ -69,7 +69,7 @@ pipeline {
69
69
  }
70
70
 
71
71
  stage('Require unique deploy directory') {
72
- when { environment name: 'BRANCH_NAME', value: 'main' }
72
+ // when { environment name: 'BRANCH_NAME', value: 'main' }
73
73
  steps {
74
74
  sh "ssh ${deployUserAndHost} \"if [ -d ${deployBaseDirectory}/${packageVersion} ]; then echo deploy directory already exists; exit 1; fi\""
75
75
  }
@@ -84,7 +84,7 @@ pipeline {
84
84
  }
85
85
 
86
86
  stage('Publish package to npmjs.com') {
87
- when { environment name: 'BRANCH_NAME', value: 'main' }
87
+ // when { environment name: 'BRANCH_NAME', value: 'main' }
88
88
  environment {
89
89
  NPM_TOKEN = credentials('npm-token')
90
90
  }
@@ -6,6 +6,11 @@
6
6
  name="viewport"
7
7
  content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
8
8
  <title>SmartMet Alert Client</title>
9
+ <style>
10
+ body {
11
+ background-color: #191b22;
12
+ }
13
+ </style>
9
14
  </head>
10
15
 
11
16
  <body>
package/dist/index.html CHANGED
@@ -11,6 +11,5 @@
11
11
 
12
12
  <body>
13
13
  <smartmet-alert-client></smartmet-alert-client>
14
-
15
14
  </body>
16
15
  </html>