@awes-io/ui 2.133.0 → 2.135.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.135.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.134.0...@awes-io/ui@2.135.0) (2025-08-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * add style for remove double scroll from fullscreen modal ([58795ae](https://github.com/awes-io/client/commit/58795ae254d186b34871b4be2b7123aa62a8e037))
12
+
13
+
14
+
15
+
16
+
17
+ # [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)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * fix modal disable scroll ([9f11732](https://github.com/awes-io/client/commit/9f11732545b531e6cbf4b3f929a0621d84d96324))
23
+
24
+
25
+ ### Features
26
+
27
+ * change logic for get element in scroll for modal ([b37acff](https://github.com/awes-io/client/commit/b37acff563b1a593ce411fa3c8153380b8cc0633))
28
+
29
+
30
+
31
+
32
+
6
33
  # [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)
7
34
 
8
35
 
@@ -116,10 +116,26 @@ $modal-aside-width-large: 75vw;
116
116
  @apply p-0 overflow-hidden;
117
117
  }
118
118
 
119
+ &.is-fullscreen,
120
+ &.is-aside {
121
+ overflow: hidden;
122
+ }
123
+
119
124
  &.is-fullscreen &,
120
125
  &[class*='is-aside'] & {
121
126
  &__dialog {
122
- @apply flex flex-col w-full max-w-full p-0 h-full min-h-screen overflow-hidden;
127
+ @apply flex flex-col w-full max-w-full p-0 h-full overflow-hidden;
128
+
129
+ min-height: 100dvh;
130
+ max-height: 100dvh;
131
+ }
132
+
133
+ &__header {
134
+ flex: none;
135
+ }
136
+
137
+ &__subtitle {
138
+ flex: none;
123
139
  }
124
140
 
125
141
  &__body {
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awes-io/ui",
3
- "version": "2.133.0",
3
+ "version": "2.135.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": "4852770e29844fc6738edbc29df6b3a76080f72d"
117
+ "gitHead": "9257f998e69eecd6f144ec5c8ab5444d6a45d1f0"
118
118
  }