@awes-io/ui 2.47.2 → 2.47.3
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,17 @@
|
|
|
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.47.3](https://github.com/awes-io/client/compare/@awes-io/ui@2.47.2...@awes-io/ui@2.47.3) (2022-04-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* close dropdown on overlay click on mobile ([aef2d98](https://github.com/awes-io/client/commit/aef2d982e1f1824ea8a1ac43037ccc56d457767b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.47.2](https://github.com/awes-io/client/compare/@awes-io/ui@2.47.1...@awes-io/ui@2.47.2) (2022-04-06)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -12,9 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
&--mobile {
|
|
15
|
-
@apply bg-overlay;
|
|
16
15
|
padding: theme('spacing.2', 0.5rem);
|
|
17
|
-
backdrop-filter: blur(10px);
|
|
18
16
|
|
|
19
17
|
display: flex;
|
|
20
18
|
flex-direction: column;
|
|
@@ -31,6 +29,14 @@
|
|
|
31
29
|
} */
|
|
32
30
|
}
|
|
33
31
|
|
|
32
|
+
&__overlay {
|
|
33
|
+
@apply bg-overlay;
|
|
34
|
+
backdrop-filter: blur(10px);
|
|
35
|
+
|
|
36
|
+
position: absolute;
|
|
37
|
+
inset: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
34
40
|
&__title {
|
|
35
41
|
text-align: center;
|
|
36
42
|
font-weight: bold;
|
|
@@ -54,6 +60,7 @@
|
|
|
54
60
|
/* max-height: 60%; */
|
|
55
61
|
flex-shrink: 1;
|
|
56
62
|
overflow: auto;
|
|
63
|
+
position: relative;
|
|
57
64
|
}
|
|
58
65
|
|
|
59
66
|
&__close {
|
|
@@ -62,6 +69,7 @@
|
|
|
62
69
|
padding-top: theme('spacing.1', 0.25rem);
|
|
63
70
|
padding-bottom: theme('spacing.1', 0.25rem);
|
|
64
71
|
flex-shrink: 0;
|
|
72
|
+
position: relative;
|
|
65
73
|
|
|
66
74
|
&.aw-button.theme-ghost.color-surface {
|
|
67
75
|
color: var(--c-on-overlay);
|
|
@@ -123,8 +123,6 @@ export default {
|
|
|
123
123
|
|
|
124
124
|
mixins: [arrowFocusMixin],
|
|
125
125
|
|
|
126
|
-
COUNTRIES,
|
|
127
|
-
|
|
128
126
|
_config,
|
|
129
127
|
|
|
130
128
|
props: {
|
|
@@ -264,7 +262,7 @@ export default {
|
|
|
264
262
|
|
|
265
263
|
// save caret position
|
|
266
264
|
let pos = $event.target.selectionStart
|
|
267
|
-
|
|
265
|
+
const digit = pos > 0 ? value[pos - 1] : '_'
|
|
268
266
|
let adjustPosition = false
|
|
269
267
|
|
|
270
268
|
if (phoneValue !== this.phoneValue) {
|
|
@@ -400,7 +398,7 @@ export default {
|
|
|
400
398
|
|
|
401
399
|
number = number && value.includes('+') ? '+' + number : number
|
|
402
400
|
|
|
403
|
-
|
|
401
|
+
const phoneNumber = parsePhoneNumberFromString(number, country)
|
|
404
402
|
|
|
405
403
|
if (phoneNumber) {
|
|
406
404
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.47.
|
|
3
|
+
"version": "2.47.3",
|
|
4
4
|
"description": "User Interface (UI) components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"vue-template-compiler": "^2.6.10",
|
|
124
124
|
"webfonts-generator": "^0.4.0"
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "8893c573987e8a2a7dc86cc75423b148a6428405"
|
|
127
127
|
}
|