@awes-io/ui 2.93.0 → 2.93.1

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
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.93.1](https://github.com/awes-io/client/compare/@awes-io/ui@2.93.0...@awes-io/ui@2.93.1) (2024-02-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix href in mobile menu item ([6c869e8](https://github.com/awes-io/client/commit/6c869e8d17f2650fb69cf25ee8019c9ab965636f))
12
+ * mobile menu items count fixed ([ff4fd20](https://github.com/awes-io/client/commit/ff4fd20c8608b4af27eb288e8e320d9fef323e90))
13
+
14
+
15
+
16
+
17
+
6
18
  # [2.93.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.92.0...@awes-io/ui@2.93.0) (2024-02-01)
7
19
 
8
20
 
@@ -23,22 +23,10 @@
23
23
  (item.isDivide || allDivides) && i
24
24
  }
25
25
  ]"
26
- :href="_getChildrenCount(item) ? null : item.href"
26
+ :href="item.href"
27
27
  :arrow="checkShowArrow(item)"
28
28
  :active="isActive(item)"
29
- v-on="
30
- _getChildrenCount(item)
31
- ? {
32
- click: () =>
33
- $emit(
34
- 'click:submenu',
35
- item.children,
36
- item.subtitle || item.text,
37
- item.href
38
- )
39
- }
40
- : item.listeners || null
41
- "
29
+ v-on="item.listeners || null"
42
30
  />
43
31
  </li>
44
32
  </slot>
@@ -97,7 +97,7 @@
97
97
  </template>
98
98
 
99
99
  <script>
100
- import { mapGetters } from 'vuex'
100
+ import { mapState, mapGetters } from 'vuex'
101
101
  import { lensProp, pathOr, viewOr } from 'rambdax'
102
102
 
103
103
  import AwMobileMenuNav from '@AwLayouts/_AwMobileMenuNav.vue'
@@ -121,12 +121,15 @@ export default {
121
121
  },
122
122
 
123
123
  computed: {
124
+ ...mapState('awesIo', [
125
+ 'bottomBarAction'
126
+ ]),
127
+
124
128
  ...mapGetters('awesIo', [
125
129
  'user',
126
130
  'logoComponent',
127
131
  'afterMobileMenuComponent',
128
- 'beforeMobileMenuComponent',
129
- 'bottomBarAction'
132
+ 'beforeMobileMenuComponent'
130
133
  ]),
131
134
 
132
135
  profileUrl() {
@@ -134,7 +137,7 @@ export default {
134
137
  },
135
138
 
136
139
  menuItemsStartIndex() {
137
- return VISIBLE_ITEMS_COUNT - (this.bottomBarAction ? 2 : 1)
140
+ return VISIBLE_ITEMS_COUNT - (this.bottomBarAction ? 1 : 0)
138
141
  },
139
142
 
140
143
  mainMenu() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awes-io/ui",
3
- "version": "2.93.0",
3
+ "version": "2.93.1",
4
4
  "description": "User Interface (UI) components",
5
5
  "keywords": [
6
6
  "ui",
@@ -114,5 +114,5 @@
114
114
  "rollup-plugin-visualizer": "^2.6.0",
115
115
  "rollup-plugin-vue": "^5.0.1"
116
116
  },
117
- "gitHead": "f26263752064890282eda08c1e201dc59adc25ac"
117
+ "gitHead": "b0d964869b63efa892956efeb0b0c5b537db5933"
118
118
  }