@awes-io/ui 2.102.2 → 2.103.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 +18 -0
- package/assets/css/components/modal.css +1 -1
- package/assets/css/components/page.css +2 -2
- package/components/3_organisms/AwBirthdayPicker.vue +2 -2
- package/components/3_organisms/AwCropper.vue +4 -0
- package/components/3_organisms/AwImageUpload.vue +2 -0
- package/components/3_organisms/AwIslandAvatar.vue +3 -1
- package/components/3_organisms/AwTel.vue +1 -8
- package/components/4_pages/AwPageMenuButtons.vue +0 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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.103.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.102.2...@awes-io/ui@2.103.0) (2024-05-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **aw-cropper:** refresh cropper after modal opened ([6621aab](https://github.com/awes-io/client/commit/6621aab2525a40c8b7e976aa06947033bedabdd8))
|
|
12
|
+
* fix component logic and style ([34acd24](https://github.com/awes-io/client/commit/34acd2404529a5a6fe63e342438996c8877cf080))
|
|
13
|
+
* fix padding bottom in page content ([c975edd](https://github.com/awes-io/client/commit/c975edd37d199ad546ab254714f115405d88e1af))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* change padding for content modal with buttons ([b0220f6](https://github.com/awes-io/client/commit/b0220f6f4d6a86f17dfa846d5db761c9c890c9bc))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [2.102.2](https://github.com/awes-io/client/compare/@awes-io/ui@2.102.1...@awes-io/ui@2.102.2) (2024-04-26)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
&__content {
|
|
20
20
|
padding-top: calc(1.5rem - var(--header-padding-bottom));
|
|
21
|
-
padding-bottom: calc(5rem + var(--page-buttons-bottom, 0px));
|
|
21
|
+
padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px) + var(--page-buttons-bottom, 0px));
|
|
22
22
|
flex-grow: 1;
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
&__back {
|
|
54
54
|
margin-right: 1rem;
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
|
|
57
57
|
&__mobile-title,
|
|
58
58
|
&__top-scroll-mark {
|
|
59
59
|
display: none;
|
|
@@ -354,9 +354,9 @@ export default {
|
|
|
354
354
|
// check range
|
|
355
355
|
switch (key) {
|
|
356
356
|
case 'day':
|
|
357
|
-
return numVal
|
|
357
|
+
return numVal >= 1 && numVal <= this.maxDay
|
|
358
358
|
case 'month':
|
|
359
|
-
return numVal
|
|
359
|
+
return numVal >= 1 && numVal <= 12
|
|
360
360
|
case 'year':
|
|
361
361
|
return true
|
|
362
362
|
default:
|
|
@@ -148,11 +148,13 @@
|
|
|
148
148
|
:param="null"
|
|
149
149
|
:title="$t('Upload avatar')"
|
|
150
150
|
theme="fullscreen"
|
|
151
|
+
@opened="$refs.cropper.refresh()"
|
|
151
152
|
>
|
|
152
153
|
<AwCropper
|
|
154
|
+
ref="cropper"
|
|
153
155
|
:src="uploadedAvatar"
|
|
154
|
-
@save="saveAvatar"
|
|
155
156
|
:square="squareAvatar"
|
|
157
|
+
@save="saveAvatar"
|
|
156
158
|
/>
|
|
157
159
|
</AwModal>
|
|
158
160
|
</template>
|
|
@@ -313,14 +313,7 @@ export default {
|
|
|
313
313
|
|
|
314
314
|
pos = Math.min(pos, max)
|
|
315
315
|
|
|
316
|
-
while (
|
|
317
|
-
newValue[pos - 1] !== digit &&
|
|
318
|
-
pos < firstDashIndex
|
|
319
|
-
) {
|
|
320
|
-
pos++
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
while (isTyping && newValue[pos - 1] === ' ' && pos < max) {
|
|
316
|
+
while (newValue[pos - 1] !== digit && pos < max) {
|
|
324
317
|
pos++
|
|
325
318
|
}
|
|
326
319
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.103.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": "
|
|
117
|
+
"gitHead": "f53b33277dcf6e194c034d7544b7c46c2cba58de"
|
|
118
118
|
}
|