Skip to content

Commit

Permalink
fix(DrawerGroupAction): bind click event to the button element
Browse files Browse the repository at this point in the history
  • Loading branch information
mtorromeo committed May 15, 2023
1 parent cc5cd4b commit dda402a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file.

## [0.3.8] - 2023-05-15
### Fixed
- fix(DrawerGroupAction): bind click event to the button element

## [0.3.7] - 2023-05-12
### Fixed
- fix(ts): added types for main import in package.json
Expand Down Expand Up @@ -427,7 +431,8 @@ disabled, as per PatternFly design guidelines.
- `pf-toolbar` component
- `pf-utilization-bar-chart` component

[Unreleased]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.7...HEAD
[Unreleased]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.8...HEAD
[0.3.8]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.7...v0.3.8
[0.3.7]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.6...v0.3.7
[0.3.6]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.5...v0.3.6
[0.3.5]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.4...v0.3.5
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-patternfly",
"version": "0.3.7",
"version": "0.3.8",
"description": "PatternFly 3 components for Vue 3",
"main": "dist/vue-patternfly.umd.js",
"module": "dist/vue-patternfly.es.js",
Expand Down
4 changes: 3 additions & 1 deletion src/components/DrawerGroupAction.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div v-bind="ouiaProps" class="drawer-pf-action-link">
<pf-button variant="link">
<pf-button variant="link" @click="$emit('click', $event)">
<slot />
</pf-button>
</div>
Expand All @@ -25,5 +25,7 @@ export default defineComponent({
setup(props) {
return useOUIAProps(props);
},
emits: ['click'],
});
</script>

0 comments on commit dda402a

Please sign in to comment.