worksafe-component-library
Advanced tools
Comparing version 1.7.2 to 1.7.3
@@ -10,3 +10,3 @@ const path = require('path') | ||
{ | ||
resourceQuery: /css/, // foo.svg?css | ||
resourceQuery: /url/, // foo.svg?url | ||
use: 'url-loader', | ||
@@ -13,0 +13,0 @@ }, |
# Changelog | ||
- v1.7.2@alpha | ||
- vX.X.X | ||
- | ||
- v1.7.3 | ||
- Visual tweak CuratedContent | ||
- Add variants to HomepageHeader to enable/disable the search and statuses, as well as allow body content and aside header fields | ||
- Styling enhancements to ProofPoints and ImageText components | ||
- v1.7.2 | ||
- Big update to forms handling | ||
@@ -5,0 +11,0 @@ - Configured for Drupal REST endpoint, processed by custom form generator instead of `vue-form-generator` |
{ | ||
"name": "worksafe-component-library", | ||
"version": "1.7.2", | ||
"version": "1.7.3", | ||
"description": "A Vue.js component library for use in WorkSafe family websites", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -7,2 +7,25 @@ import { storiesOf } from '@storybook/vue' | ||
const headerTitle = 'WorkWell' | ||
const headerBody = | ||
'Launched in partnership with the Department of Health and Human Services (DHHS), the new Victorian WorkSafe WorkWell program aims to make mental health and wellbeing a priority in the workplace.' | ||
const headerAside = 'Need something else?' | ||
const headerItems = [ | ||
{ | ||
title: 'Make a claim', | ||
relative: '/make-a-claim' | ||
}, | ||
{ | ||
title: 'An incident just happened', | ||
relative: '/an-incident-just-happened' | ||
}, | ||
{ | ||
title: 'OHS Essentials', | ||
relative: '/ohs-essentials' | ||
}, | ||
{ | ||
title: 'Mental health support', | ||
relative: '/mental-health-support' | ||
} | ||
] | ||
storiesOf('Components/Global/HomepageHeader', module) | ||
@@ -14,1 +37,37 @@ .addDecorator(withReadme(readme)) | ||
})) | ||
.add('Links title', () => ({ | ||
components: { HomepageHeader }, | ||
template: | ||
'<homepage-header :title="headerTitle" :body="headerBody" :showStatus="false" :showSearch="false" :links="headerItems" :linksTitle="headerAside" />', | ||
data() { | ||
return { | ||
headerTitle, | ||
headerBody, | ||
headerAside, | ||
headerItems | ||
} | ||
} | ||
})) | ||
.add('No search', () => ({ | ||
components: { HomepageHeader }, | ||
template: | ||
'<homepage-header :title="headerTitle" :body="headerBody" :links="headerItems" :showSearch="false" />', | ||
data() { | ||
return { | ||
headerTitle, | ||
headerBody, | ||
headerItems | ||
} | ||
} | ||
})) | ||
.add('No statuses', () => ({ | ||
components: { HomepageHeader }, | ||
template: | ||
'<homepage-header :title="headerTitle" :links="headerItems" :showStatus="false" />', | ||
data() { | ||
return { | ||
headerTitle, | ||
headerItems | ||
} | ||
} | ||
})) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1385085
8934