@bcrs-shared-components/action-chip 1.0.25 → 1.0.28

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.
@@ -6,8 +6,7 @@ import Vuetify from 'vuetify'
6
6
  export default {
7
7
  title: 'component/ActionChip',
8
8
  component: ActionChip,
9
- argTypes: {
10
- }
9
+ argTypes: {}
11
10
  }
12
11
 
13
12
  const Template = (args, { argTypes }) => ({
@@ -17,17 +16,9 @@ const Template = (args, { argTypes }) => ({
17
16
  template: '<action-chip v-bind="$props" />' // $props comes from args below
18
17
  })
19
18
 
20
- const addedAction: ActionableItemIF = {
21
- action: ActionTypes.ADDED
22
- }
23
-
24
- const removedAction: ActionableItemIF = {
25
- action: ActionTypes.REMOVED
26
- }
27
-
28
- const editedAction: ActionableItemIF = {
29
- action: ActionTypes.EDITED
30
- }
19
+ const addedAction: ActionableItemIF = { action: ActionTypes.ADDED }
20
+ const removedAction: ActionableItemIF = { action: ActionTypes.REMOVED }
21
+ const editedAction: ActionableItemIF = { action: ActionTypes.EDITED }
31
22
 
32
23
  export const added = Template.bind({})
33
24
  added.args = {
package/ActionChip.vue CHANGED
@@ -17,10 +17,10 @@ import { ActionableItemIF } from '@bcrs-shared-components/interfaces'
17
17
  @Component({})
18
18
  export default class ActionChip extends Vue {
19
19
  @Prop({ default: {} })
20
- private actionableItem: ActionableItemIF
20
+ readonly actionableItem: ActionableItemIF
21
21
 
22
22
  @Prop({ default: 'EDITED' })
23
- private editedLabel: boolean
23
+ readonly editedLabel: boolean
24
24
 
25
25
  // Declaration for template
26
26
  readonly ActionTypes = ActionTypes
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@bcrs-shared-components/action-chip",
3
- "version": "1.0.25",
3
+ "version": "1.0.28",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "dependencies": {
8
- "@bcrs-shared-components/enums": "^1.0.18",
9
- "@bcrs-shared-components/interfaces": "^1.0.38",
8
+ "@bcrs-shared-components/enums": "^1.0.21",
9
+ "@bcrs-shared-components/interfaces": "^1.0.41",
10
10
  "vue-property-decorator": "^8.4.0"
11
11
  },
12
- "gitHead": "2ec4faeaa11c0750de99e6a2e2c43f72b5c20f9f"
12
+ "gitHead": "68de5224869fb4d2399e7c24e81ab8e7a39b2cd1"
13
13
  }