@worksafevictoria/wcl7.5 1.1.0-beta.35 → 1.1.0-beta.36
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/jest.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worksafevictoria/wcl7.5",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.36",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -58,7 +58,8 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@babel/core": "^7.24.6",
|
|
60
60
|
"@babel/plugin-transform-private-property-in-object": "^7.24.6",
|
|
61
|
-
"@babel/preset-env": "^7.
|
|
61
|
+
"@babel/preset-env": "^7.25.3",
|
|
62
|
+
"@babel/preset-react": "^7.24.7",
|
|
62
63
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
63
64
|
"@storybook/addon-a11y": "^7.6.3",
|
|
64
65
|
"@storybook/addon-essentials": "^7.5.1",
|
|
@@ -72,7 +73,8 @@
|
|
|
72
73
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
73
74
|
"@vue/test-utils": "^2.4.6",
|
|
74
75
|
"@vue/vue3-jest": "^29.2.6",
|
|
75
|
-
"babel-jest": "^29.
|
|
76
|
+
"babel-jest": "^29.7.0",
|
|
77
|
+
"babel-preset-vite": "^1.1.3",
|
|
76
78
|
"dotenv-webpack": "^8.1.0",
|
|
77
79
|
"eslint": "^8.49.0",
|
|
78
80
|
"eslint-plugin-storybook": "^0.6.15",
|
|
@@ -42,7 +42,7 @@ export default {
|
|
|
42
42
|
title: 'HeroHeader default example',
|
|
43
43
|
description: '<p class="intro">The page subtitle goes in here... The page subtitle goes in here... The page subtitle goes in here...</p><p><a href="#" class="cta-button">class cta-button</a></p>',
|
|
44
44
|
image: {
|
|
45
|
-
url:
|
|
45
|
+
url: process.env.CONTENT_API_URL + '/sites/default/files/2020-04/Topic-Coronavirus-COVID-19.jpg',
|
|
46
46
|
alt: 'Some alt text'
|
|
47
47
|
},
|
|
48
48
|
cta: cta_content,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div ref="ffhApp" class="ffh-app">
|
|
3
|
-
|
|
3
|
+
<hero-header
|
|
4
4
|
:image="null"
|
|
5
5
|
:title="heroHeader.title"
|
|
6
6
|
:description="heroHeader.description"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
:show-social="false"
|
|
9
9
|
class="hero-header"
|
|
10
10
|
>
|
|
11
|
-
</hero-header>
|
|
11
|
+
</hero-header>
|
|
12
12
|
<container class="ffh-header">
|
|
13
13
|
<row>
|
|
14
14
|
<column>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
import Container from '../../Containers/Container/index.vue'
|
|
55
55
|
import Column from '../../Containers/Column/index.vue'
|
|
56
56
|
import Row from '../../Containers/Row/index.vue'
|
|
57
|
-
|
|
57
|
+
import HeroHeader from '../../Global/HeroHeader/index.vue'
|
|
58
58
|
import CardContainer from './CardContainer/index.vue'
|
|
59
59
|
import ProgressBar from '../../Global/ProgressBar/index.vue'
|
|
60
60
|
import RiskLevel from './RiskLevel/index.vue'
|
|
@@ -66,7 +66,7 @@ export default {
|
|
|
66
66
|
Container,
|
|
67
67
|
Column,
|
|
68
68
|
Row,
|
|
69
|
-
|
|
69
|
+
HeroHeader,
|
|
70
70
|
CardContainer,
|
|
71
71
|
ProgressBar,
|
|
72
72
|
RiskLevel,
|