@awes-io/ui 2.128.0 → 2.130.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.130.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.129.0...@awes-io/ui@2.130.0) (2025-05-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * some change in single page ([aa17540](https://github.com/awes-io/client/commit/aa1754038747215016198660aa61f98f5f5a2cb2))
12
+
13
+
14
+
15
+
16
+
17
+ # [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)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **aw-code:** disabled state added ([46f71fe](https://github.com/awes-io/client/commit/46f71fe14c4e2325641650ff6f83e799e206d206))
23
+
24
+
25
+ ### Features
26
+
27
+ * **aw-user-menu:** after profile slot added ([1f60871](https://github.com/awes-io/client/commit/1f608714335367d301610d812eca37a48f53fc58))
28
+
29
+
30
+
31
+
32
+
6
33
  # [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)
7
34
 
8
35
 
@@ -18,14 +18,16 @@
18
18
  overflow: hidden;
19
19
  }
20
20
 
21
+ &__wrapper {
22
+ margin-top: 0;
23
+ margin-bottom: 0;
24
+ margin-inline-end: auto;
25
+ }
26
+
21
27
  &__title {
22
28
  font-size: 1rem;
23
29
  line-height: 1.5;
24
30
  font-weight: bold;
25
-
26
- margin-top: 0;
27
- margin-bottom: 0;
28
- margin-inline-end: auto;
29
31
  }
30
32
 
31
33
  &__link {
@@ -19,7 +19,7 @@
19
19
  top: 0;
20
20
 
21
21
  &--is-stuck {
22
- @apply bg-page-bg;
22
+ @apply bg-surface;
23
23
  width: 100%;
24
24
 
25
25
  box-shadow: 0px 10px 20px 0px rgba(37, 38, 41, 0.05);
@@ -40,8 +40,12 @@
40
40
  }
41
41
 
42
42
  &--primary {
43
- /* @apply bg-surface; */
43
+ @apply bg-surface;
44
44
  width: 100%;
45
+
46
+ box-shadow: 0px 10px 20px 0px rgba(37, 38, 41, 0.05);
47
+
48
+ transition: 60ms box-shadow 120ms;
45
49
  }
46
50
 
47
51
  &__title {
@@ -110,10 +114,6 @@
110
114
  /* padding-left: 2.5rem;
111
115
  padding-right: 2.5rem; */
112
116
 
113
- &--primary {
114
- @apply bg-surface;
115
- }
116
-
117
117
  &--container {
118
118
  position: static;
119
119
  width: var(--header-container-width);
@@ -14,6 +14,12 @@
14
14
 
15
15
  padding-top: 1rem;
16
16
  padding-bottom: 0;
17
+
18
+ &.container {
19
+ .aw-page-single__mobile-title {
20
+ padding: 0;
21
+ }
22
+ }
17
23
  }
18
24
 
19
25
  &__content {
@@ -64,6 +70,7 @@
64
70
 
65
71
  position: sticky;
66
72
  bottom: 0;
73
+ margin-top: auto;
67
74
 
68
75
  /* &--is-stuck {
69
76
  background: rgba(255, 255, 255, 0.03);
@@ -135,7 +135,7 @@
135
135
 
136
136
  &.is-select &__element {
137
137
  position: relative;
138
- z-index: 1;
138
+ z-index: 0;
139
139
  background-color: transparent;
140
140
  }
141
141
 
@@ -3,11 +3,22 @@
3
3
  <div class="aw-action-card__header">
4
4
  <slot name="before-title"></slot>
5
5
 
6
- <div
7
- class="aw-action-card__title"
8
- :class="{ truncate: !fullTitle }"
9
- >
10
- {{ title }}
6
+ <div class="aw-action-card__wrapper">
7
+ <div
8
+ class="aw-action-card__title"
9
+ :class="{ truncate: !fullTitle }"
10
+ >
11
+ {{ title }}
12
+ </div>
13
+
14
+ <slot
15
+ v-if="description || $scopedSlots.description"
16
+ name="description"
17
+ >
18
+ <AwDescription tag="div" class="mt-1">
19
+ {{ description }}
20
+ </AwDescription>
21
+ </slot>
11
22
  </div>
12
23
 
13
24
  <slot name="after-title">
@@ -44,6 +55,11 @@ export default {
44
55
  default: ''
45
56
  },
46
57
 
58
+ description: {
59
+ type: String,
60
+ default: ''
61
+ },
62
+
47
63
  fullTitle: Boolean,
48
64
 
49
65
  action: {
@@ -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)"
@@ -8,11 +8,10 @@
8
8
 
9
9
  <AwPageHeader
10
10
  ref="header"
11
- :progress="isDesktop ? headerProgress : null"
12
- :primary="isDesktop || isHeaderStuck"
11
+ :progress="headerProgress"
12
+ primary
13
13
  :title="_title"
14
14
  :title-showable="!isDesktop"
15
- :hide-title="!isDesktop && !isHeaderStuck"
16
15
  :hide-menu="hideMenu"
17
16
  :is-stuck="isHeaderStuck"
18
17
  class="aw-page-single__header"
@@ -69,10 +68,6 @@
69
68
  'container-fluid': containerType === 'full'
70
69
  }"
71
70
  >
72
- <div class="aw-page-single__mobile-title" aria-hidden="true">
73
- {{ _title }}
74
- </div>
75
-
76
71
  <AwDescription
77
72
  v-if="!isDesktop && description"
78
73
  class="aw-page-single__mobile-description"
@@ -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.128.0",
3
+ "version": "2.130.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": "f3775d664c6e04ca04b8e1aa9e70bf0629f9fac3"
117
+ "gitHead": "81527f7097f59c372f662f5a43a6821f453ff487"
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