@worksafevictoria/wcl7.5 1.1.7 → 1.1.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worksafevictoria/wcl7.5",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -8,38 +8,15 @@ import {
8
8
  export default {
9
9
  title: 'Paragraphs/TaskFinder',
10
10
  component: TaskFinder,
11
- argTypes: {
12
- taskList: {
13
- control: 'object',
14
- defaultValue: taskFinderTempData
15
- },
16
- title: {
17
- control: 'text',
18
- defaultValue: taskFinderTempTitle
19
- },
20
- text: {
21
- control: 'text',
22
- defaultValue: taskFinderTempText
23
- },
24
- headingTag: {
25
- control: 'text',
26
- defaultValue: 'h2'
27
- },
28
- rtl: {
29
- control: 'boolean',
30
- defaultValue: false
31
- },
32
- workwell: {
33
- control: 'boolean',
34
- defaultValue: false
35
- }
36
- }
11
+ args: {
12
+ taskList: taskFinderTempData,
13
+ title: taskFinderTempTitle,
14
+ text: taskFinderTempText,
15
+ headingTag: 'h2',
16
+ rtl: false,
17
+ workwell: false
18
+ },
19
+ template: '<task-finder v-bind="args" :storybook="true"/>'
37
20
  }
38
21
 
39
- const DefaultContent = (args, { argTypes }) => ({
40
- components: { TaskFinder },
41
- props: Object.keys(argTypes),
42
- template: '<task-finder v-bind="$props" :storybook="true"/>'
43
- })
44
-
45
- export const Default = DefaultContent.bind({})
22
+ export const Default = {}
@@ -25,7 +25,7 @@
25
25
 
26
26
  <script>
27
27
  import { isAbsoluteUrl } from '../../../../../lib/utility'
28
- import Row from './../../../Containers/Container/index.vue'
28
+ import Row from './../../../Containers/Row/index.vue'
29
29
  import Container from './../../../Containers/Container/index.vue'
30
30
  import Column from './../../../Containers/Column/index.vue'
31
31
  import RichText from './../../../Paragraphs/RichText/index.vue'