@weni/unnnic-system 2.0.27-alpha.4 → 2.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 2.0.28 (2024-06-21)
9
+
10
+ ### Fixed
11
+
12
+ - Correction in the listener check on $attrs. This was preventing the correct operation of the listeners..
13
+
8
14
  ## 2.0.27 (2024-06-20)
9
15
 
10
16
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weni/unnnic-system",
3
- "version": "2.0.27-alpha.4",
3
+ "version": "2.0.28",
4
4
  "type": "commonjs",
5
5
  "files": [
6
6
  "dist",
@@ -74,4 +74,4 @@
74
74
  "vite": "4.3.5",
75
75
  "vue-eslint-parser": "^9.4.2"
76
76
  }
77
- }
77
+ }
@@ -1,6 +1,8 @@
1
1
  import unnnicModalNext from '../components/ModalNext/ModalNext.vue';
2
2
  import icons from '../utils/icons';
3
3
 
4
+ import { action } from '@storybook/addon-actions';
5
+
4
6
  const iconsOptions = Object.keys(icons);
5
7
 
6
8
  const schemesOptions = [
@@ -184,7 +186,7 @@ export const AlertWithActionButtons = {
184
186
  actionPrimaryLabel: 'Confirm',
185
187
  actionSecondaryLabel: 'Cancel',
186
188
  showCloseButton: true,
187
- onClickActionSecondary: () => console.log('secondary click'),
188
- onClickActionPrimary: () => console.log('primary click'),
189
+ onClickActionSecondary: action('click-action-secondary'),
190
+ onClickActionPrimary: action('click-action-primay'),
189
191
  },
190
192
  };