Skip to content

Commit dda402a

Browse files
committed
fix(DrawerGroupAction): bind click event to the button element
1 parent cc5cd4b commit dda402a

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [0.3.8] - 2023-05-15
5+
### Fixed
6+
- fix(DrawerGroupAction): bind click event to the button element
7+
48
## [0.3.7] - 2023-05-12
59
### Fixed
610
- fix(ts): added types for main import in package.json
@@ -427,7 +431,8 @@ disabled, as per PatternFly design guidelines.
427431
- `pf-toolbar` component
428432
- `pf-utilization-bar-chart` component
429433

430-
[Unreleased]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.7...HEAD
434+
[Unreleased]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.8...HEAD
435+
[0.3.8]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.7...v0.3.8
431436
[0.3.7]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.6...v0.3.7
432437
[0.3.6]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.5...v0.3.6
433438
[0.3.5]: https://github.com/mtorromeo/vue-patternfly/compare/v0.3.4...v0.3.5

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-patternfly",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"description": "PatternFly 3 components for Vue 3",
55
"main": "dist/vue-patternfly.umd.js",
66
"module": "dist/vue-patternfly.es.js",

src/components/DrawerGroupAction.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div v-bind="ouiaProps" class="drawer-pf-action-link">
3-
<pf-button variant="link">
3+
<pf-button variant="link" @click="$emit('click', $event)">
44
<slot />
55
</pf-button>
66
</div>
@@ -25,5 +25,7 @@ export default defineComponent({
2525
setup(props) {
2626
return useOUIAProps(props);
2727
},
28+
29+
emits: ['click'],
2830
});
2931
</script>

0 commit comments

Comments
 (0)