bfg-common 1.4.80 → 1.4.82

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.
@@ -10,7 +10,7 @@
10
10
  :id="`${props.testId}-toggle`"
11
11
  :data-id="`${props.testId}-toggle`"
12
12
  class="stack-block-label"
13
- @click="toggle"
13
+ @click="onToggle"
14
14
  >
15
15
  <atoms-the-icon name="angle" class="angle-icon" fill="#565656" />
16
16
 
@@ -65,7 +65,9 @@ const emits = defineEmits<{
65
65
  }>()
66
66
 
67
67
  const open = ref<boolean>(props.openByDefault || false)
68
- const toggle = (): void => {
68
+ const onToggle = (event: any): void => {
69
+ if (event.srcElement.tagName === 'INPUT') return
70
+
69
71
  open.value = !open.value
70
72
  emits('toggle', open.value)
71
73
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.80",
4
+ "version": "1.4.82",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -15,28 +15,28 @@
15
15
  "@novnc/novnc": "1.4.0",
16
16
  "@vueuse/core": "10.1.2",
17
17
  "@vueuse/nuxt": "10.1.2",
18
- "eslint-config-prettier": "^8.5.0",
18
+ "eslint-config-prettier": "8.5.0",
19
19
  "nuxt": "3.11.2",
20
20
  "prettier": "2.7.1",
21
- "sass": "^1.54.9",
22
- "sass-loader": "^10.3.1",
23
- "terser": "^5.22.0",
24
- "vite-plugin-eslint": "^1.8.1",
25
- "xterm": "^5.1.0",
26
- "xterm-addon-attach": "^0.8.0",
27
- "xterm-addon-fit": "^0.7.0",
28
- "xterm-addon-serialize": "^0.9.0",
29
- "xterm-addon-unicode11": "^0.5.0",
30
- "xterm-addon-web-links": "^0.8.0",
21
+ "sass": "1.54.9",
22
+ "sass-loader": "10.3.1",
23
+ "terser": "5.22.0",
24
+ "vite-plugin-eslint": "1.8.1",
25
+ "xterm": "5.1.0",
26
+ "xterm-addon-attach": "0.8.0",
27
+ "xterm-addon-fit": "0.7.0",
28
+ "xterm-addon-serialize": "0.9.0",
29
+ "xterm-addon-unicode11": "0.5.0",
30
+ "xterm-addon-web-links": "0.8.0",
31
31
  "eslint-plugin-myrules": "file:./eslint"
32
32
  },
33
33
  "dependencies": {
34
- "@nuxtjs/eslint-config-typescript": "^12.0.0",
35
- "@vueuse/components": "^10.1.2",
36
- "date-fns": "^2.29.3",
34
+ "@nuxtjs/eslint-config-typescript": "12.0.0",
35
+ "@vueuse/components": "10.1.2",
36
+ "date-fns": "2.29.3",
37
37
  "bfg-nuxt-3-graph": "1.0.15",
38
38
  "bfg-uikit": "1.0.91",
39
- "html2canvas": "^1.4.1",
40
- "prettier-eslint": "^15.0.1"
39
+ "html2canvas": "1.4.1",
40
+ "prettier-eslint": "15.0.1"
41
41
  }
42
42
  }