@awes-io/ui 2.132.2 → 2.134.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.134.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.133.0...@awes-io/ui@2.134.0) (2025-08-15)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix modal disable scroll ([9f11732](https://github.com/awes-io/client/commit/9f11732545b531e6cbf4b3f929a0621d84d96324))
12
+
13
+
14
+ ### Features
15
+
16
+ * change logic for get element in scroll for modal ([b37acff](https://github.com/awes-io/client/commit/b37acff563b1a593ce411fa3c8153380b8cc0633))
17
+
18
+
19
+
20
+
21
+
22
+ # [2.133.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.132.2...@awes-io/ui@2.133.0) (2025-08-12)
23
+
24
+
25
+ ### Features
26
+
27
+ * update component style ([2a43c73](https://github.com/awes-io/client/commit/2a43c73ece1cbb3b3becaa77e1d80dd61d5cd305))
28
+
29
+
30
+
31
+
32
+
6
33
  ## [2.132.2](https://github.com/awes-io/client/compare/@awes-io/ui@2.132.1...@awes-io/ui@2.132.2) (2025-07-30)
7
34
 
8
35
 
@@ -33,6 +33,10 @@
33
33
  border-radius: 0.5rem;
34
34
  }
35
35
 
36
+ &::placeholder {
37
+ color: var(--c-mono-400);
38
+ }
39
+
36
40
  & + & {
37
41
  @apply border-l;
38
42
  border-top-left-radius: 0;
@@ -1,9 +1,10 @@
1
1
  .aw-label {
2
2
  display: inline-flex;
3
3
  align-items: center;
4
- gap: 0.25rem;
4
+ gap: 0.125rem;
5
5
 
6
6
  font-size: 0.75rem;
7
+ font-weight: 700;
7
8
  line-height: 1.25rem;
8
9
  white-space: nowrap;
9
10
 
@@ -1,18 +1,13 @@
1
1
  <template>
2
2
  <div v-if="label" class="aw-label" :style="styleVariables">
3
- <AwIcon
4
- v-if="_icon"
5
- :name="_icon"
6
- size="10"
7
- aria-hidden="true"
8
- />
3
+ <AwIcon v-if="_icon" :name="_icon" size="16" aria-hidden="true" />
9
4
 
10
5
  <slot>{{ label }}</slot>
11
6
 
12
7
  <AwIcon
13
8
  v-if="iconSecond"
14
9
  :name="iconSecond"
15
- size="10"
10
+ size="16"
16
11
  aria-hidden="true"
17
12
  />
18
13
  </div>
@@ -67,7 +67,11 @@ export default {
67
67
 
68
68
  shadowRightStyle() {
69
69
  return {
70
- opacity: this.scrollLeft >= this.maxScrollLeft - 2 ? '0' : '1' // handle oerscroll with >=
70
+ opacity:
71
+ this.scrollLeft >= this.maxScrollLeft - 4 ||
72
+ !this.maxScrollLeft
73
+ ? '0'
74
+ : '1' // handle oerscroll with >=
71
75
  }
72
76
  }
73
77
  },
@@ -57,7 +57,7 @@
57
57
  </div>
58
58
 
59
59
  <!-- content -->
60
- <div :class="elClasses.body">
60
+ <div ref="body" :class="elClasses.body">
61
61
  <div
62
62
  :class="[
63
63
  elClasses.content,
@@ -277,10 +277,15 @@ export default {
277
277
 
278
278
  methods: {
279
279
  _toggleBodyScroll(enable) {
280
+ const el =
281
+ this.theme === 'fullscreen' || this.theme.startsWith('aside')
282
+ ? this.$refs.body
283
+ : this.$el
284
+
280
285
  if (enable) {
281
- enableBodyScroll(this.$el)
286
+ enableBodyScroll(el)
282
287
  } else if (this.disableScroll) {
283
- disableBodyScroll(this.$el, {
288
+ disableBodyScroll(el, {
284
289
  reserveScrollBarGap: true
285
290
  })
286
291
  }
@@ -11,6 +11,7 @@
11
11
  :progress="headerProgress"
12
12
  primary
13
13
  :title="_title"
14
+ :description="headerDescription"
14
15
  :title-showable="!isDesktop"
15
16
  :hide-menu="hideMenu"
16
17
  :is-stuck="isHeaderStuck"
@@ -156,6 +157,11 @@ export default {
156
157
  default: ''
157
158
  },
158
159
 
160
+ headerDescription: {
161
+ type: String,
162
+ default: ''
163
+ },
164
+
159
165
  desktopFrom: {
160
166
  type: String,
161
167
  default: 'lg'
@@ -35,6 +35,10 @@
35
35
  }"
36
36
  >
37
37
  {{ title }}
38
+
39
+ <AwDescription v-if="description" class="font-normal block">
40
+ {{ description }}
41
+ </AwDescription>
38
42
  </h1>
39
43
  </slot>
40
44
 
@@ -74,6 +78,11 @@ export default {
74
78
  default: ''
75
79
  },
76
80
 
81
+ description: {
82
+ type: String,
83
+ default: ''
84
+ },
85
+
77
86
  container: {
78
87
  type: String,
79
88
  default: 'full'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awes-io/ui",
3
- "version": "2.132.2",
3
+ "version": "2.134.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": "c3ae74a2451e07b3a3798f285cd1aee0e7bffc69"
117
+ "gitHead": "0172d6c9dc070f31a91b2f85507bc4d86a6c82f9"
118
118
  }