@awes-io/ui 2.127.3 → 2.129.0

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,33 @@
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.129.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.128.0...@awes-io/ui@2.129.0) (2025-05-08)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **aw-code:** disabled state added ([46f71fe](https://github.com/awes-io/client/commit/46f71fe14c4e2325641650ff6f83e799e206d206))
12
+
13
+
14
+ ### Features
15
+
16
+ * **aw-user-menu:** after profile slot added ([1f60871](https://github.com/awes-io/client/commit/1f608714335367d301610d812eca37a48f53fc58))
17
+
18
+
19
+
20
+
21
+
22
+ # [2.128.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.127.3...@awes-io/ui@2.128.0) (2025-03-27)
23
+
24
+
25
+ ### Features
26
+
27
+ * change modal overlay opacity ([d43a164](https://github.com/awes-io/client/commit/d43a164528c7277a250a3dfa66fe073068c06a95))
28
+
29
+
30
+
31
+
32
+
6
33
  ## [2.127.3](https://github.com/awes-io/client/compare/@awes-io/ui@2.127.2...@awes-io/ui@2.127.3) (2025-03-20)
7
34
 
8
35
 
@@ -294,11 +294,13 @@ $modal-aside-width-large: 75vw;
294
294
  }
295
295
 
296
296
  &.is-default {
297
- @apply bg-overlay flex pt-16 px-16;
297
+ @apply flex pt-16 px-16;
298
+ background: rgba(var(--c-overlay-rgb), var(--bg-opacity, 0.8));
298
299
  }
299
300
 
300
301
  &[class*='is-overlay-aside'] {
301
- @apply bg-overlay overflow-hidden;
302
+ @apply overflow-hidden;
303
+ background: rgba(var(--c-overlay-rgb), var(--bg-opacity, 0.8));
302
304
  }
303
305
 
304
306
  &[class*='is-overlay-aside'] &__dialog {
@@ -22,7 +22,8 @@
22
22
  wrapperClasses,
23
23
  {
24
24
  'aw-code__item--filled': !!codeValue[i],
25
- 'aw-code__item--compact': compact
25
+ 'aw-code__item--compact': compact,
26
+ 'is-disabled': isDisabled
26
27
  }
27
28
  ]"
28
29
  >
@@ -34,6 +35,7 @@
34
35
  autocomplete="off"
35
36
  :value="codeValue[i]"
36
37
  :class="[elClasses.element, 'text-center p-3']"
38
+ :disabled="isDisabled"
37
39
  v-bind="skipAttr"
38
40
  @input="_onInput($event, i)"
39
41
  @keydown.left="_focus($event.target, -1)"
@@ -66,6 +66,14 @@
66
66
  <AwUserpic v-bind="user" big-image />
67
67
  </Component>
68
68
 
69
+ <slot name="after-profile">
70
+ <Component
71
+ v-if="afterProfileComponent"
72
+ :is="afterProfileComponent.is"
73
+ v-bind="afterProfileComponent.props"
74
+ />
75
+ </slot>
76
+
69
77
  <AwNavItem
70
78
  class="aw-user-menu__nav-item border-b"
71
79
  :href="profileUrl"
@@ -185,7 +193,11 @@ export default {
185
193
  },
186
194
 
187
195
  computed: {
188
- ...mapGetters('awesIo', ['user', 'userMenuAvatarComponent']),
196
+ ...mapGetters('awesIo', [
197
+ 'user',
198
+ 'userMenuAvatarComponent',
199
+ 'afterProfileComponent'
200
+ ]),
189
201
 
190
202
  isDesktop() {
191
203
  return this.$screen.lg
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awes-io/ui",
3
- "version": "2.127.3",
3
+ "version": "2.129.0",
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": "b969f15651af9de8d15076a82e8777a0b82dab67"
117
+ "gitHead": "1b9505901dbb00aff7f7cdda04e4f343d27cd107"
118
118
  }
package/store/awesIo.js CHANGED
@@ -19,6 +19,7 @@ export const state = () => ({
19
19
  screen: {},
20
20
 
21
21
  profileUrl: null,
22
+ afterProfileComponent: null,
22
23
  userName: '',
23
24
 
24
25
  logo: {
@@ -143,6 +144,10 @@ export const getters = {
143
144
 
144
145
  afterMobileMenuComponent(state) {
145
146
  return state.afterMobileMenu
147
+ },
148
+
149
+ afterProfileComponent(state) {
150
+ return state.afterProfileComponent
146
151
  }
147
152
  }
148
153