Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

worksafe-component-library

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

worksafe-component-library - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

2

.storybook/webpack.config.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc